<template>
  <div class="symptoms">
    <div class="title">医美手术并不是适合每个人，哪些人需要隆鼻？</div>
    <div class="items">
      <div class="item" v-for="item in items" :key="item.key">
        <div class="img-wrap"><img src="../../assets/images/tabizia.jpg" alt=""></div>
        <div class="desc">{{item.desc}}</div>
      </div>
    </div>
    <div class="clear"></div>
    <div class="zixun">
      <a href="">你有以上的问题吗？发张照片免费面诊</a>
    </div>
  </div>
</template>
<script>
export default {
  name: "symptoms",
  data() {
    return {
      items: [
        {
          imgUrl: "../../assets/images/tabizia.jp",
          desc: "塌鼻子的解释文字",
          key: "1"
        },
        {
          imgUrl: "../../assets/images/tabizia.jp",
          desc: "塌鼻子的解释文字",
          key: "2"
        },
        {
          imgUrl: "../../assets/images/tabizia.jp",
          desc: "塌鼻子的解释文字",
          key: "3"
        },
        {
          imgUrl: "../../assets/images/tabizia.jp",
          desc: "塌鼻子的解释文字",
          key: "4"
        }
      ]
    };
  }
};
</script>
<style lang="scss" scoped>
.symptoms {
  padding: 20px;
  .title {
    font-size: 16px;
    line-height: 20px;
    margin: 20px;
  }
  .items {
    padding: 20px;
    .item {
      width: 30%;
      float: left;
      margin-bottom: 5px;
      padding-left: 5px;
      .img-wrap {
        margin-bottom: 5px;
        img {
          width: 100%;
        }
      }
    }
  }
  .clear {
    clear: both;
  }
  .zixun {
    width: 80%;
    margin: 20px auto;
    font-size: 14px;
    line-height: 20px;
    border: 1px solid black;
    padding: 5px;
    text-align: center;
    border-radius: 5px;
    a {
      color: black;
    }
  }
}
</style>

